﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ScratchNet.Constant
{
    public class Constant
    {
        /// <summary>
        /// 程序入口
        /// </summary>
        public static string MainStart = "Program Entry Blockly";

        /// <summary>
        /// 程序开始之前
        /// </summary>
        public static string BeforeProcessStart = "BeforeProcessStart";

        /// <summary>
        /// 程序结束之后
        /// </summary>
        public static string AfterProcessEnd = "AfterProcessEnd";

        /// <summary>
        /// 文件写入位置
        /// </summary>
        public static int WriteFileStartLine = 46;

        /// <summary>
        /// 程序结束之后
        /// </summary>
        public static string GenerateFileDir = "C:\\RaytoolSoftware\\2DCutAhead2.0\\PLCProcessCodes\\";

        /// <summary>
        /// 循环内取消令牌
        /// </summary>
        public static string CancellationToken = "if (token.IsCancellationRequested) break;\r\n";
    }
}
